home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
tjgold.zip
/
INSTALL.003
/
DEMPMT1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-05-29
|
2KB
|
47 lines
{--------------------------------------------------------------------------}
{ Product: TechnoJock's Turbo Toolkit GOLD }
{ }
{ TTT GOLD - DEMO PROGRAM }
{ }
{ Copyright 1986-1995 TechnoJock Software, Inc. }
{ All Rights Reserved }
{ Restricted by License }
{--------------------------------------------------------------------------}
{Description: DEMPMT1.PAS
Illustrates how to use the Prompt procedure
to display a pop-up dialog.
}
program DemPmt1;
{$I GOLDFLAG.INC}
uses DOS,CRT, GoldMisc, GoldAttr, GoldHard,GoldFast,GoldWin,GoldKey;
procedure SetScreen;
{}
begin
Clear(WhiteOnCyan,'▒');
ClearLine(1,YellowOnBlue);
WriteCenter(1,0,'Basic Prompt Demo');
ClearLine(25,BlackOnBrown);
WriteCenter(25,0,'Press ESC to finish...');
end; { SetScreen }
begin
{$IFOPT D+}
HeapRecord;
{$ENDIF}
SetScreen;
if PromptOKCancel(' Confirmation ','Would you like to rebuild the|database index now?|') = 1 then
PromptOK('','You picked OK!')
else
PromptOK('','You picked Cancel!');
MouseShow(false);
Clear(LightGrayOnBlack,' ');
{$IFOPT D+}
HeapCheck;
{$ENDIF}
end. { DemPmt1 }